@import "../Lw-base";

.user-center {
    .userInfo {
        display: flex;
        padding-bottom: 24px;
        .left {
            width: 158px;
            height: 208px;
            background: #ff0;
            margin-right: 22px;
        }
        .right {
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            .label {
                color: #6f7885;
            }
            .value {
                color: #1f2329;
                font-weight: 700;
            }
            .phone-box {
                display: flex;
                align-items: center;
                .modify {
                    display: block;
                    width: 20px;
                    margin-left: 8px;
                    cursor: pointer;
                }
            }
        }
    }
}

.ant-form {
    padding-bottom: 28px;
    :deep(.ant-form-item) {
        margin-bottom: 20px;
        .ant-form-item-required {
            &::before {
                display: none;
            }
            &::after {
                display: none;
            }
        }
        &.phone {
            input {
                padding-left: 0;
            }
        }
        &.code,
        &.phone {
            .ant-input-affix-wrapper {
                padding: 0 11px 0 0;
                border: none;
                background: #f7f8fa;
                box-shadow: none;
                border: 1px solid transparent;
                &.ant-input-affix-wrapper-focused {
                    border: 1px solid #5077c8;
                    background: #f7f8fa !important;
                    // background: #f00 !important;
                }
                .ant-input-prefix {
                    padding-left: 16px;
                    font-weight: 700;
                    color: #303133;

                    .line {
                        height: 20px;
                        width: 2px;
                        border-radius: 2px;
                        background: #dce0e5;
                        margin: 0 12px;
                    }
                }
            }
            input {
                background: #f7f8fa !important;
                box-shadow: none !important;
                outline: none;
                border: none;
                &:focus {
                    border: none;
                }
            }
        }
        input {
            height: 48px;
            font-size: 16px;
            font-weight: 400;
            border-radius: 4px;
            border: 1px solid transparent;
            padding: 0 20px;
            box-shadow: none;
            background: #f7f8fa;
            &::placeholder {
                color: #9097a3;
            }

            &:focus {
                background: #f6f9ff !important;
                border: 1px solid #5077c8;
            }
        }
    }
    .code-btn {
        color: $primary-color;
        cursor: pointer;
    }
    .submit {
        width: 359px;
        height: 48px;
        background: $primary-color;
        border-radius: 4px;
        color: #fff;
        font-size: 18px;
        border: none;
        margin-top: 60px - 16px;
        position: relative;
        :deep(span) {
            position: absolute;
            z-index: 2;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
        }
    }
    .no-login {
        height: auto;
        margin-left: 35px;
        font-weight: 400;
        font-size: 14px;
        label {
            height: auto;
        }
    }
}
